package com.example.proyyj.Impl;


import com.example.proyyj.Entity.Chinaware;
import com.example.proyyj.Entity.Collection;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CollectionImpl {

    Collection collection(int userid,int chinawareid );//查看文物是否收藏
    int addchiaware(int userid,int chinawareid);//收藏文物
    int delchiaware(int userid ,int chinawareid);//取消收藏
    List<Collection> lookchiawarelist( int userid);//查看用户收藏
    Chinaware lookchiaware (int ChinawareId);
}
